#ifndef OPTIONSHANDLER_H
#define OPTIONSHANDLER_H

#include "resip/dum/OutOfDialogHandler.hxx"
#include "resip/dum/ServerOutOfDialogReq.hxx"


class OptionsHandler : public resip::OutOfDialogHandler
{
public:
	// Constructor & Destructor

	OptionsHandler();
	virtual ~OptionsHandler(){;}

	// Memberfunctions

	virtual void onSuccess(resip::ClientOutOfDialogReqHandle h, const resip::SipMessage& successResponse);
	virtual void onFailure(resip::ClientOutOfDialogReqHandle h, const resip::SipMessage& errorResponse);
	virtual void onReceivedRequest(resip::ServerOutOfDialogReqHandle h, const resip::SipMessage& request){;}

	bool isDone(){ return m_done; }

private:
	// Membervariables

	bool m_done;
};

#endif